package com.ctg.payroll2.bean.po.social;

import java.io.Serializable;

import org.apache.commons.lang.StringUtils;
/**
 * 员工社保档案表
 * @author 鲁力 2009-9-1 上午09:45:53
 *
 */
public class CsEmplsocial implements Serializable {
	private static final long serialVersionUID = 1748095108363268791L;
	private Long employee_ss_id;
	private String company_code;
	private Long employee_id;
	private String emp_cs_code;
	private String start_month;
	private String end_month;
	private Double person_base_default;
	private Double person_percent_default;
	private Double company_base_default;
	private Double company_percent_default;
	private Long template_id;
	private Long social_security_id;
	private String is_valid;
	private Long datanode;
	private String lastused_date;
	private String add_start_month;
	private String add_pay_month;
	private String add_end_month;
	private Long creator_id;
	private String create_code;
	private String create_date;
	private String creator_ip;
	private Long modifier_id;
	private String modifier_code;
	private String modify_date;
	private String modifier_ip;
	private String sub_social_security_id;
	private String show_name;//社保项目名称
	private String count;//社保项数=>sum(社保项)
	private String name;//员工姓名
	private String social_typename;//社保类型名称<=社保类型表.社保类型标示(pb_social_type.social_typeid)<=社保项目表.社保项目标示(pb_social_master.social_security_id)<=员工社保档案.社保项目标示外键
	private String social_typeid;
	private String company_add;
	private String person_add;
	private String ids;
	/**
	 * 员工姓名
	 */
	private String empName;
	/**
	 * @return 返回add_end_month
	 */
	public String getAdd_end_month() {
		return add_end_month;
	}
	/**
	 * @param add_end_month 设置add_end_month
	 */
	public void setAdd_end_month(String add_end_month) {
		if (StringUtils.isNotEmpty(add_end_month)) {
			if(add_end_month.length()>10){
				this.add_end_month = add_end_month.substring(0,10);
			}else{
				this.add_end_month = add_end_month;
			}
		}
	}
	/**
	 * @return 返回add_pay_month
	 */
	public String getAdd_pay_month() {
		return add_pay_month;
	}
	/**
	 * @param add_pay_month 设置add_pay_month
	 */
	public void setAdd_pay_month(String add_pay_month) {
		if (StringUtils.isNotEmpty(add_pay_month)) {
			if(add_pay_month.length()>10){
				this.add_pay_month = add_pay_month.substring(0,10);
			}else{
				this.add_pay_month = add_pay_month;
			}
		}
	}
	/**
	 * @return 返回add_start_month
	 */
	public String getAdd_start_month() {
		return add_start_month;
	}
	/**
	 * @param add_start_month 设置add_start_month
	 */
	public void setAdd_start_month(String add_start_month) {
		if (StringUtils.isNotEmpty(add_start_month)) {
			if(add_start_month.length()>10){
				this.add_start_month = add_start_month.substring(0,10);
			}else{
				this.add_start_month = add_start_month;
			}
		}
	}
	/**
	 * @return 返回company_code
	 */
	public String getCompany_code() {
		return company_code;
	}
	/**
	 * @param company_code 设置company_code
	 */
	public void setCompany_code(String company_code) {
		this.company_code = company_code;
	}
	/**
	 * @return 返回create_code
	 */
	public String getCreate_code() {
		return create_code;
	}
	/**
	 * @param create_code 设置create_code
	 */
	public void setCreate_code(String create_code) {
		this.create_code = create_code;
	}
	/**
	 * @return 返回create_date
	 */
	public String getCreate_date() {
		return create_date;
	}
	/**
	 * @param create_date 设置create_date
	 */
	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}
	/**
	 * @return 返回creator_id
	 */
	public Long getCreator_id() {
		return creator_id;
	}
	/**
	 * @param creator_id 设置creator_id
	 */
	public void setCreator_id(Long creator_id) {
		this.creator_id = creator_id;
	}
	/**
	 * @return 返回creator_ip
	 */
	public String getCreator_ip() {
		return creator_ip;
	}
	/**
	 * @param creator_ip 设置creator_ip
	 */
	public void setCreator_ip(String creator_ip) {
		this.creator_ip = creator_ip;
	}
	/**
	 * @return 返回datanode
	 */
	public Long getDatanode() {
		return datanode;
	}
	/**
	 * @param datanode 设置datanode
	 */
	public void setDatanode(Long datanode) {
		this.datanode = datanode;
	}
	/**
	 * @return 返回employee_id
	 */
	public Long getEmployee_id() {
		return employee_id;
	}
	/**
	 * @param employee_id 设置employee_id
	 */
	public void setEmployee_id(Long employee_id) {
		this.employee_id = employee_id;
	}
	/**
	 * @return 返回employee_ss_id
	 */
	public Long getEmployee_ss_id() {
		return employee_ss_id;
	}
	/**
	 * @param employee_ss_id 设置employee_ss_id
	 */
	public void setEmployee_ss_id(Long employee_ss_id) {
		this.employee_ss_id = employee_ss_id;
	}
	/**
	 * @return 返回end_month
	 */
	public String getEnd_month() {
		return end_month;
	}
	/**
	 * @param end_month 设置end_month
	 */
	public void setEnd_month(String end_month) {
		if (StringUtils.isNotEmpty(end_month)) {
			if(end_month.length()>10){
				this.end_month = end_month.substring(0,10);
			}else{
				this.end_month = end_month;
			}
		}
		
	}
	/**
	 * @return 返回is_valid
	 */
	public String getIs_valid() {
		return is_valid;
	}
	/**
	 * @param is_valid 设置is_valid
	 */
	public void setIs_valid(String is_valid) {
		this.is_valid = is_valid;
	}
	/**
	 * @return 返回lastused_date
	 */
	public String getLastused_date() {
		return lastused_date;
	}
	/**
	 * @param lastused_date 设置lastused_date
	 */
	public void setLastused_date(String lastused_date) {
		this.lastused_date = lastused_date;
	}
	/**
	 * @return 返回modifier_code
	 */
	public String getModifier_code() {
		return modifier_code;
	}
	/**
	 * @param modifier_code 设置modifier_code
	 */
	public void setModifier_code(String modifier_code) {
		this.modifier_code = modifier_code;
	}
	public String getModify_date() {
		return modify_date;
	}
	public void setModify_date(String modify_date) {
		this.modify_date = modify_date;
	}
	/**
	 * @return 返回modifier_id
	 */
	public Long getModifier_id() {
		return modifier_id;
	}
	/**
	 * @param modifier_id 设置modifier_id
	 */
	public void setModifier_id(Long modifier_id) {
		this.modifier_id = modifier_id;
	}
	/**
	 * @return 返回modifier_ip
	 */
	public String getModifier_ip() {
		return modifier_ip;
	}
	/**
	 * @param modifier_ip 设置modifier_ip
	 */
	public void setModifier_ip(String modifier_ip) {
		this.modifier_ip = modifier_ip;
	}
	public Double getCompany_base_default() {
		return company_base_default;
	}
	public void setCompany_base_default(Double company_base_default) {
		this.company_base_default = company_base_default;
	}
	public Double getCompany_percent_default() {
		return company_percent_default;
	}
	public void setCompany_percent_default(Double company_percent_default) {
		this.company_percent_default = company_percent_default;
	}
	public Double getPerson_base_default() {
		return person_base_default;
	}
	public void setPerson_base_default(Double person_base_default) {
		this.person_base_default = person_base_default;
	}
	public Double getPerson_percent_default() {
		return person_percent_default;
	}
	public void setPerson_percent_default(Double person_percent_default) {
		this.person_percent_default = person_percent_default;
	}
	/**
	 * @return 返回social_security_id
	 */
	public Long getSocial_security_id() {
		return social_security_id;
	}
	/**
	 * @param social_security_id 设置social_security_id
	 */
	public void setSocial_security_id(Long social_security_id) {
		this.social_security_id = social_security_id;
	}
	/**
	 * @return 返回start_month
	 */
	public String getStart_month() {
		return start_month;
	}
	/**
	 * @param start_month 设置start_month
	 */
	public void setStart_month(String start_month) {
		if (StringUtils.isNotEmpty(start_month)) {
			if(start_month.length()>10){
				this.start_month=start_month.substring(0,10);
			}else{
				this.start_month = start_month;
			}
		}
	}
	/**
	 * @return 返回template_id
	 */
	public Long getTemplate_id() {
		return template_id;
	}
	/**
	 * @param template_id 设置template_id
	 */
	public void setTemplate_id(Long template_id) {
		this.template_id = template_id;
	}
	/**
	 * @return 返回empName
	 */
	public String getEmpName() {
		return empName;
	}
	/**
	 * @param empName 设置empName
	 */
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	public String getCount() {
		return count;
	}
	public void setCount(String count) {
		this.count = count;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSocial_typename() {
		return social_typename;
	}
	public void setSocial_typename(String social_typename) {
		this.social_typename = social_typename;
	}
	public String getShow_name() {
		return show_name;
	}
	public void setShow_name(String show_name) {
		this.show_name = show_name;
	}
	public String getSub_social_security_id() {
		return sub_social_security_id;
	}
	public void setSub_social_security_id(String sub_social_security_id) {
		this.sub_social_security_id = sub_social_security_id;
	}
	/**
	 * @return 返回emp_cs_code
	 */
	public String getEmp_cs_code() {
		return emp_cs_code;
	}
	/**
	 * @param emp_cs_code 设置emp_cs_code
	 */
	public void setEmp_cs_code(String emp_cs_code) {
		this.emp_cs_code = emp_cs_code;
	}
	public String getCompany_add() {
		return company_add;
	}
	public void setCompany_add(String company_add) {
		this.company_add = company_add;
	}
	public String getPerson_add() {
		return person_add;
	}
	public void setPerson_add(String person_add) {
		this.person_add = person_add;
	}
	public String getSocial_typeid() {
		return social_typeid;
	}
	public void setSocial_typeid(String social_typeid) {
		this.social_typeid = social_typeid;
	}
	/**
	 * @return 返回ids
	 */
	public String getIds() {
		return ids;
	}
	/**
	 * @param ids 设置ids
	 */
	public void setIds(String ids) {
		this.ids = ids;
	}
}
